Optimal. Leaf size=29 \[ -\frac {16 \cos ^6(a+b x)}{3 b}+\frac {4 \cos ^8(a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {4373, 2645, 14}
\begin {gather*} \frac {4 \cos ^8(a+b x)}{b}-\frac {16 \cos ^6(a+b x)}{3 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2645
Rule 4373
Rubi steps
\begin {align*} \int \csc ^2(a+b x) \sin ^5(2 a+2 b x) \, dx &=32 \int \cos ^5(a+b x) \sin ^3(a+b x) \, dx\\ &=-\frac {32 \text {Subst}\left (\int x^5 \left (1-x^2\right ) \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac {32 \text {Subst}\left (\int \left (x^5-x^7\right ) \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac {16 \cos ^6(a+b x)}{3 b}+\frac {4 \cos ^8(a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.15, size = 48, normalized size = 1.66 \begin {gather*} \frac {-72 \cos (2 (a+b x))-12 \cos (4 (a+b x))+8 \cos (6 (a+b x))+3 \cos (8 (a+b x))}{96 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 35, normalized size = 1.21
method | result | size |
default | \(\frac {-4 \left (\sin ^{2}\left (x b +a \right )\right ) \left (\cos ^{6}\left (x b +a \right )\right )-\frac {4 \left (\cos ^{6}\left (x b +a \right )\right )}{3}}{b}\) | \(35\) |
risch | \(\frac {\cos \left (8 x b +8 a \right )}{32 b}+\frac {\cos \left (6 x b +6 a \right )}{12 b}-\frac {\cos \left (4 x b +4 a \right )}{8 b}-\frac {3 \cos \left (2 x b +2 a \right )}{4 b}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 50, normalized size = 1.72 \begin {gather*} \frac {3 \, \cos \left (8 \, b x + 8 \, a\right ) + 8 \, \cos \left (6 \, b x + 6 \, a\right ) - 12 \, \cos \left (4 \, b x + 4 \, a\right ) - 72 \, \cos \left (2 \, b x + 2 \, a\right )}{96 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.71, size = 26, normalized size = 0.90 \begin {gather*} \frac {4 \, {\left (3 \, \cos \left (b x + a\right )^{8} - 4 \, \cos \left (b x + a\right )^{6}\right )}}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 36, normalized size = 1.24 \begin {gather*} \frac {4 \, {\left (3 \, \sin \left (b x + a\right )^{8} - 8 \, \sin \left (b x + a\right )^{6} + 6 \, \sin \left (b x + a\right )^{4}\right )}}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 25, normalized size = 0.86 \begin {gather*} \frac {4\,{\cos \left (a+b\,x\right )}^6\,\left (3\,{\cos \left (a+b\,x\right )}^2-4\right )}{3\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________